package com.pwrd.sframe.core.obverser;

import com.pwrd.sframe.support.function.Func;

import java.util.HashMap;
import java.util.Map;

/**
 * @Auther syc.
 * @Date 2017/2/24 18:10.
 */
public class RemoteCallObverser {
    public static Map<String, Func> obverser = new HashMap();

    public static Func get(String key) {
        return obverser.get(key);
    }

    public static void register(String key, Func func) {
        obverser.put(key, func);
    }
}
